package com._520it.crm.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
@Getter
@Setter
public class Employee {
    private Long id;
    private String username;//员工账号
    private String realname;//真实姓名
    private String password;//密码
    private String tel;//电话
    private String email;//邮箱
    private Department dept;//部门
    @JsonFormat(pattern = "yyyy-MM-dd",timezone = "GMT+8")
    @DateTimeFormat(pattern = "yyyy-MM-dd")
    private Date inputtime;//录入时间
    private Boolean state;//状态
    private Boolean admin;//超级管理员身份

}